package crudfx.data;
import java.sql.*;
/**
 * @profile desktop
 * @author Sergey Surikov
 */
public class JDBCTools {
    public static Connection connect(String driver,String url)throws Exception{
        Class.forName(driver).newInstance();
        Connection connection = DriverManager.getConnection(url);
        return connection;
    }
}
